package com.qh.system.service.impl;

import com.qh.basic.service.impl.BaseServiceImpl;
import com.qh.system.domain.DictionaryDetail;
import com.qh.system.mapper.DictionaryDetailMapper;
import com.qh.system.service.DictionaryDetailService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
/**
 * 业务实现类：数据字典类型
 */
public class DictionaryDetailServiceImpl extends BaseServiceImpl<DictionaryDetail> implements DictionaryDetailService {

    private DictionaryDetailMapper dictionaryDetailMapper;

    @Override
    public void delByTypes_id(Long id) {
        dictionaryDetailMapper.delByTypes_id(id);
    }

    @Override
    public void patchDelByTypes_id(List<Long> ids) {
        dictionaryDetailMapper.patchDelByTypes_id(ids);
    }
}
